<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>番茄时钟</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <button id="notification-permission" style="display:none;">允许通知</button>
    <div class="dynamic-background"></div>
    <div class="container">
        <div class="timer-display">
            <span id="minutes">25</span>:<span id="seconds">00</span>
        </div>
        <div class="controls">
            <button id="start">开始</button>
            <button id="pause">暂停</button>
            <button id="reset">重置</button>
        </div>
        <div class="settings">
            <label>番茄时间（分钟）：</label>
            <input type="number" id="work-time" value="25" min="1" max="60">
            <label>短休息时间（分钟）：</label>
            <input type="number" id="short-break" value="5" min="1" max="60">
            <label>长休息时间（分钟）：</label>
            <input type="number" id="long-break" value="15" min="1" max="60">
        </div>
        <div class="session-info">
            <p>已完成番茄钟：<span id="completed-sessions">0</span></p>
            <button id="long-break-btn">开始长休息</button>
        </div>
        <div id="celebration-container"></div>
    </div>
    <script src="script.js"></script>
</body>
</html>